import 'package:get/get.dart';

class RewardsController extends GetxController {
  final productList = [].obs; //商品列表

  Future<void> fetchNewsList({bool isRefresh = false}) async {
    await Future.delayed(const Duration(milliseconds: 2000));
    productList.addAll(List.generate(5, (index) => "sldkfjal$index").toList());
  }
}
